using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace WCFServer.DataContracts
{
    /// <summary>
    /// Data Contract Class - Karta
    /// </summary>
    [DataContract(Namespace = "http://WCFServer.DataContracts/2007/11", Name = "Karta")]
    public partial class Card
    {
        private color kolorField;

        [DataMember(IsRequired = true, Name = "kolor", Order = 0)]
        public color kolor
        {
            get { return kolorField; }
            set { kolorField = value; }
        }

        private CardFace wartoscField;

        [DataMember(IsRequired = true, Name = "wartosc", Order = 1)]
        public CardFace wartosc
        {
            get { return wartoscField; }
            set { wartoscField = value; }
        }

        public enum color
        {
            Clubs,
            Diamonds,
            Hearts,
            Spades
        }

        public enum CardFace
        {
            two,
            three,
            four,
            five,
            six,
            seven,
            eight,
            nine,
            ten,
            jack,
            queen,
            king,
            ace
        }
    }
}
